module.exports = {
  /**
   * 一天过期时间秒数
   */
  ttl_one_day: 86400,
  // 三十天的时间数
  TTL_TENTH_DAY: 864000, 
  redis: {
    host: '127.0.0.1',
    port: 6379,
    prefix: 'blog:user:token:', // 存诸前缀
    ttl: 3 * 60,  // 过期时间  1000 * 60 * 60 * 24 
    family: 4,
    db: 0
  },
  write_mysql: {
    host: '',
    user: '',
    password: '',
    database: '',
    minConnection: 3,
    maxConnection: 10,
    charset: 'utf8mb4',
    collate: 'utf8mb4_unicode_ci',
    timezone: 'PRC',
    debug:true
  },
  read_mysql: {
    host: '',
    user: '',
    password: '',
    database: '',
    minConnection: 3,
    maxConnection: 10,
    charset: 'utf8mb4',
    collate: 'utf8mb4_unicode_ci',
    timezone: 'PRC',
    debug:true
  }
}